import React from 'react';
//import {Link} from 'react-router'
import {BrowserRouter as Router,Route,Link,hashHistory,IndexRoute} from 'react-router-dom'

class Elm extends React.Component{
	render(){
		return(
			<div className="main">
				
				<section>{this.props.children}</section>
				<footer className="foot_nav">
					<Link to='/waimai'>
						<i className="iconfont icon-changyonglogo40 active"></i>
            			<p>外卖</p>
					</Link>
					<Link to='/faxian'>
						<i className="iconfont icon-faxian" id="faxian"></i>
            			<p>发现</p>
					</Link>
					<Link to='/dingdan'>
						<i className="iconfont icon-order" id="dingdan"></i>
            			<p>订单</p>
					</Link>
					<Link to='/mine'>
						<i className="iconfont icon-wode" id="mine"></i>
            			<p>我的</p>
					</Link>
				</footer>
			</div>
		)
	}
}

export default Elm;